#import "~/graphql_shared/fragments/page_info.fragment.graphql"

query getContainerRepositoryTags(
  $id: ContainerRepositoryID!
  $first: Int
  $last: Int
  $after: String
  $before: String
  $name: String
  $sort: ContainerRepositoryTagSort
) {
  containerRepository(id: $id) {
    id
    tagsCount
    canDelete
    tags(after: $after, before: $before, first: $first, last: $last, name: $name, sort: $sort) {
      nodes {
        digest
        location
        path
        name
        revision
        shortRevision
        createdAt
        totalSize
        canDelete
      }
      pageInfo {
        ...PageInfo
      }
    }
  }
}
